public class String_test1 {
    public static void main(String[] args) {
        String name = "张磊";
        System.out.println(name);
        System.out.println("=======================================================");
        String name1 = new String();
        System.out.println(name1);
        System.out.println("=======================================================");
        String name2 = new String("张磊2");
        System.out.println(name2);
        System.out.println("1111111111111111111111111111111111");
        char[] chars = new char[]{'你', '好', 'a'};
        String name3 = new String(chars);
        System.out.println(name3);
        System.out.println("2222222222222222222222222222222222");
        byte[] ints = new byte[]{97, 98, 99};
        System.out.println(ints);
        String name5 = new String(ints);
        System.out.println(name5);
    }
}

